//
//  EditItemDetailViewController.h
//  CS Inventory Manager
//
//  Created by Billy Zoellers on 3/8/13.
//  Copyright (c) 2013 Transylvania University. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Item.h"
#import "ModelSelectionViewController.h"

@interface EditItemDetailViewController : UITableViewController <UITextFieldDelegate,UIPopoverControllerDelegate>

- (IBAction)saveButton:(id)sender;
- (IBAction)cancelButton:(id)sender;
- (void)closePopover;

@property (nonatomic, strong) Item *theItem;
@property (nonatomic, assign) id delegate;
@property (nonatomic, strong) UITextField *inSerial;
@property (nonatomic, strong) UITextField *inAssetID;
@property (nonatomic, strong) UITextField *inCost;
@property (nonatomic, strong) UITextField *inValue;
@property (nonatomic, strong) UITextField *inNotes;
@property (nonatomic, strong) UITextField *inLocation;

@property (nonatomic,strong) UIPopoverController *modelSelectPopover;
@property (nonatomic,strong) UITableViewController *modelSelectTable;

@end
